/**
* @Title: Dog.java
* @Package com.an.objecttran
* @Description: TODO(用一句话描述该文件做什么)
* @author antch,861710865@qq.com
* @date 2017年7月26日 下午3:05:08
* @version V1.0
*/


package com.an.objecttran;

import java.io.Serializable;

/**
* @ClassName: Dog
* @Description: TODO(用于传输的类)
* @author antch,861710865@qq.com
* @date 2017年7月26日 下午3:05:08
*
*/

public class Dog implements Serializable{

	/**
	* @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
	*/

	private static final long serialVersionUID = 1L;


	private String name;

	private Integer age;

	private String dogId;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getDogId() {
		return dogId;
	}

	public void setDogId(String dogId) {
		this.dogId = dogId;
	}

	@Override
	public String toString() {
		return "Dog [name=" + name + ", age=" + age + ", dogId=" + dogId + "]";
	}

	public Dog(String name, Integer age, String dogId) {
		super();
		this.name = name;
		this.age = age;
		this.dogId = dogId;
	}

	public Dog() {
		super();
	}



}
